home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.tip.net!dataphone!newsmaster
- From: skorpio@dataphone.se (Jarmo Paavilainen)
- Newsgroups: comp.lang.c
- Subject: Re: Colors in text-mode. And with Watcom ?
- Date: 15 Apr 1996 15:27:10 GMT
- Organization: Dataphone Communication Networks
- Message-ID: <4ktpse$q9@nic.dataphone.se>
- References: <4jrlrf$jab@nosy.bart.nl> <4k4pl1$pea@host1.einstein.com.ar> <Dpp4xz.LqM@pgh.nauticom.net><4jrlrf$jab@nosy.bart.nl> <4k4pl1$pea@host1.einstein.com.ar> <Dpp4xz.LqM@pgh.nauticom.net> <31707A6B.A34@trader.com>
- Reply-To: skorpio@dataphone.se
- NNTP-Posting-Host: nikson.dataphone.se
- X-Newsreader: NeoLogic News for OS/2 [version: 4.5 YO Beta]
-
- In message <31707A6B.A34@trader.com> - mg <mg@trader.com>Sat, 13 Apr 1996
- 23:09:15 -0500 writes:
-
- :>> > >Does somebody know how I can get colors in the text-mode of C/C++?
- I
-
- get or set, that is the question ?
-
- If you want to get you could use gettextinfo, or read directly from video
- memory.
-
- :>> you dont need to do that! OK, use textcolor(int) and
- textbackground(int)
- :>> and for output, use cprintf(char*)
- ..
- :>I agree. Think the MS version of these two is _settextcolor(int) and
- :>_setbkcolor(int). With MS, think you also have to print to a buffer and
- ..
-
- And does anyone know what command you could use with Watcom 10.5 ?
-
- Take care,
- Skorpio
- _________________________________________________________________________
- Jarmo Paavilainen, Skorpio skorpio@dataphone.se
- Sweden http://www.dataphone.se/~skorpio
-
-